package com.hse.network;

import com.hse.network.exceptions.NetworkException;

/**
 * Created by IntelliJ IDEA.
 * User: Lexa
 * Date: May 31, 2009
 * Time: 7:02:37 PM
 * To change this template use File | Settings | File Templates.
 */
public interface IEndDevice {
    void connect(Short panId) throws NetworkException;

    Network[] scan() throws NetworkException;

    byte[] recv() throws NetworkException;

    void send(byte[] data) throws NetworkException;

    boolean canRead();

    void close();
}
